package cn.pzaily.orange.producer.hystrix;

import cn.pzaily.orange.producer.service.OrangeProductService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @PackageName: cn.pzaily.orange.producer.hystrix
 * @Description:
 * @Author: Pang
 * @Date: 2021-05-17 22:58
 */
@Component
public class OrangeProductHystrix implements OrangeProductService {
    @Override
    @RequestMapping(value = "/hello")
    public String hello() {
        return "sorry, hello service call failed";
    }
}
